Optimal. Leaf size=70 \[ \frac{x^{m+1} \, _2F_1\left (2,\frac{m+1}{2};\frac{m+3}{2};a^2 x^2\right )}{m+1}+\frac{a x^{m+2} \, _2F_1\left (2,\frac{m+2}{2};\frac{m+4}{2};a^2 x^2\right )}{m+2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.117214, antiderivative size = 70, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19 \[ \frac{x^{m+1} \, _2F_1\left (2,\frac{m+1}{2};\frac{m+3}{2};a^2 x^2\right )}{m+1}+\frac{a x^{m+2} \, _2F_1\left (2,\frac{m+2}{2};\frac{m+4}{2};a^2 x^2\right )}{m+2} \]
Antiderivative was successfully verified.
[In] Int[(x^m*(1 + a*x))/(1 - a^2*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 13.8242, size = 51, normalized size = 0.73 \[ \frac{a x^{m + 2}{{}_{2}F_{1}\left (\begin{matrix} 2, \frac{m}{2} + 1 \\ \frac{m}{2} + 2 \end{matrix}\middle |{a^{2} x^{2}} \right )}}{m + 2} + \frac{x^{m + 1}{{}_{2}F_{1}\left (\begin{matrix} 2, \frac{m}{2} + \frac{1}{2} \\ \frac{m}{2} + \frac{3}{2} \end{matrix}\middle |{a^{2} x^{2}} \right )}}{m + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**m*(a*x+1)/(-a**2*x**2+1)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0622908, size = 51, normalized size = 0.73 \[ \frac{x^{m+1} (\, _2F_1(1,m+1;m+2;-a x)+\, _2F_1(1,m+1;m+2;a x)+2 \, _2F_1(2,m+1;m+2;a x))}{4 (m+1)} \]
Antiderivative was successfully verified.
[In] Integrate[(x^m*(1 + a*x))/(1 - a^2*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Maple [C] time = 0.17, size = 177, normalized size = 2.5 \[ -{\frac{1}{2\,a} \left ( -{a}^{2} \right ) ^{-{\frac{m}{2}}} \left ({\frac{{x}^{m} \left ( -2-m \right ) }{ \left ( 2+m \right ) \left ( -{a}^{2}{x}^{2}+1 \right ) } \left ( -{a}^{2} \right ) ^{{\frac{m}{2}}}}+{\frac{{x}^{m}m}{2} \left ( -{a}^{2} \right ) ^{{\frac{m}{2}}}{\it LerchPhi} \left ({a}^{2}{x}^{2},1,{\frac{m}{2}} \right ) } \right ) }+{\frac{1}{2} \left ( -{a}^{2} \right ) ^{-{\frac{1}{2}}-{\frac{m}{2}}} \left ( -2\,{\frac{{x}^{1+m} \left ( -{a}^{2} \right ) ^{1/2+m/2} \left ( -1-m \right ) }{ \left ( 1+m \right ) \left ( -2\,{a}^{2}{x}^{2}+2 \right ) }}+2\,{\frac{{x}^{1+m} \left ( -{a}^{2} \right ) ^{1/2+m/2} \left ( -1/4\,{m}^{2}+1/4 \right ){\it LerchPhi} \left ({a}^{2}{x}^{2},1,1/2+m/2 \right ) }{1+m}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^m*(a*x+1)/(-a^2*x^2+1)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (a x + 1\right )} x^{m}}{{\left (a^{2} x^{2} - 1\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a*x + 1)*x^m/(a^2*x^2 - 1)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{x^{m}}{a^{3} x^{3} - a^{2} x^{2} - a x + 1}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a*x + 1)*x^m/(a^2*x^2 - 1)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 12.9497, size = 673, normalized size = 9.61 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**m*(a*x+1)/(-a**2*x**2+1)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (a x + 1\right )} x^{m}}{{\left (a^{2} x^{2} - 1\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a*x + 1)*x^m/(a^2*x^2 - 1)^2,x, algorithm="giac")
[Out]